/**
 * 
 */
package com.google.code.onlineshopping4j.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author TelmilaJ
 *
 */
@Entity
@Table(name="currency")
public class Currency extends BaseModel implements Serializable {

	private static final long serialVersionUID = -3047532372279929151L;

	@Column(name = "code", nullable=false)
	private String code;
	
	@Column(name = "description", nullable=false)
	private String description;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
